package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 员工实体类
 */
@Data //getter,setter,toString...
@AllArgsConstructor //全参构造
@NoArgsConstructor //无参构造
public class Emp {
    private Integer id; //主键ID

    private String username; //用户名

    private Integer password; //密码，默认值为123456

    private String name; //姓名

    private Short gender; //性别，1 男，2 女

    private String image; //图像

    private Short job; //职位, 说明: 1 班主任,2 讲师, 3 学工主管, 4 教研主管, 5 咨询师

    private LocalDate entrydate; //入职时间

    private Integer deptId; // 部门ID

    private LocalDateTime createTime; //创建时间

    private LocalDateTime updateTime; //更新时间
}
